package com.whz.governance.sensitive;

/**
 * nacos中配置的敏感词dataId
 *
 * @author whz
 */
public enum SensitiveEnum {
    /**
     *
     */
    USER_NAME_WHITE("user_name_white_list.yaml"),
    /**
     *
     */
    USER_NAME_BLACK("user_name_black_list.yaml"),
    /**
     *
     */
    IP_WHITE("ip_white_list.yaml"),
    /**
     *
     */
    IP_BLACK("ip_black_list.yaml"),
    /**
     *
     */
    DEVICE_INFO_WHITE("device_info_white_list.yaml"),
    /**
     *
     */
    DEVICE_INFO_BLACK("device_info_black_list.yaml");

    private final String dataId;

    SensitiveEnum(final String dataId) {
        this.dataId = dataId;
    }

    public String getDataId() {
        return "common-sensitive-store-" + dataId;
    }
}